<?php
namespace App\Admin\Override;

use Dcat\Admin\Form\Field;

class Expend extends Field {
    public function __construct($label = null,$html=[])
    {
        $this->label = $label;
        $this->html = $html[0] ?? '';
    }

    public function render()
    {
        if (! $this->label) {
            return '<hr/>';
        }
        return view('expend',['label'=>$this->label,'html'=>$this->html]);
    }
}
